package com.zx.mes.aop.hyl.service;

import com.zx.mes.aop.hyl.entity.User;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * user service test
 *
 * @author huayunlong
 * @date 2018-9-10
 */
@Service
@Slf4j
public class UserServiceImpl {

    public User getOne(String id) {

        User user = new User();
        user.setId(id);
        user.setName("xxxx");
        user.setDate(new Date());
        return user;
    }

    public void update(){
        log.info("更新");
    }
}
